<section id="score" class="section">
	<div class="search">
		<form class="" role="search">
			<div class="form-group">
				<input type="text" class="form-control" placeholder="输入你想查询的选手号/姓名" ng-model="query">
			 	<i class="fa fa-search"></i>
			</div>	
		</form>
	</div>
	<div class="content">
		<div class="match-info clearfix">
			<a href="javascript:;" class="image pull-left"><img src="{{subjects.image}}" alt=""></a>
			<div class="title pull-left">
				<h4 ng-bind="subjects.title"></h4>
				<p><span ng-repeat="subject in subjects.subject" ng-bind="subject.subjectName" ng-if="subject.subjectId==subjectIds"></span></p>
			</div>
			<div class="text pull-right">
				<span class="address" ng-bind="subjects.address"></span>
				<span class="time" ng-bind="subjects.time"></span>
			</div>
		</div>

		<div class="table-responsive">
			<table ng-table="vm.tableParams" class="table table-border" show-filter="true">
			    <tr ng-repeat="user in scores | filter: query | orderBy: 'ranking'" ui-sref="person({matchId: matchId, subjectId: subjectIds, userId: user.userId})">
			        <td class="text-center" title="'选手号'">
			            {{user.userId}}
			        </td>
			        <td class="text-center" title="'姓名'">
			            {{user.userName}}
			        </td>
			        <td class="text-center" title="'性别'">
			            {{user.userSex}}
			        </td>
			        <td class="text-center" title="'赛会成绩'">
			            {{user.score}}
			        </td>
			        <td class="text-center" title="'排名'">
			            {{user.ranking}}
			        </td>
			    </tr>
			</table>
		</div>
	</div>
</section>